From 6a78994bf3d19c1ee8c911b9998953c0516eecc4 Mon Sep 17 00:00:00 2001 From: "Jan D." Date: Thu, 15 Aug 2013 19:36:45 +0200 Subject: [PATCH] * nsmenu.m (menuWillOpen:): Fix preprocessor test. --- src/ChangeLog | 4 ++++ src/nsmenu.m | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index e2662cd3696..9ba2a6ce2cd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2013-08-15 Jan Djärv + + * nsmenu.m (menuWillOpen:): Fix preprocessor test (Bug#15001). + 2013-08-15 Lars Magne Ingebrigtsen * image.c (imagemagick_compute_animated_image): Respect the GIF diff --git a/src/nsmenu.m b/src/nsmenu.m index 3266d76450c..5af813ac758 100644 --- a/src/nsmenu.m +++ b/src/nsmenu.m @@ -575,7 +575,7 @@ extern NSString *NSMenuDidBeginTrackingNotification; { ++trackingMenu; -#if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_6 +#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 // On 10.6 we get repeated calls, only the one for NSSystemDefined is "real". if ([[NSApp currentEvent] type] != NSSystemDefined) return; #endif -- 2.30.2